package com.hksj.Intelligentmanagement.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.NotBlank;

@Data
@ApiModel
@EqualsAndHashCode
public class AnesthesiaDTO {

    @NotBlank(message = "等级名称不为空",groups = {Update.class})
    @ApiModelProperty(value = "副麻、主麻id 修改时传值")
    private String id;

    @NotBlank(message = "等级名称不为空",groups = {Create.class,Update.class})
    @ApiModelProperty(value = "主麻/副麻姓名")
    private String anesthesiaName;

    @ApiModelProperty(value = "工号")
    private String employeeNumber;

    @ApiModelProperty(value = "状态(0:未禁用,1:已禁用)")
    private Integer status;

    @ApiModelProperty("性别")
    private String sex;

    @ApiModelProperty("联系方式")
    private String phoneNumber;

    @ApiModelProperty("描述")
    private String description;

    public interface Create{
    }

    public interface Update{
    }
}
